package org.lawyer.admin.controller;

import org.lawyer.feign.customer.CustomerFeign;
import org.lawyer.pojo.customer.CustomerVo;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class CustomerController {

  @Resource private CustomerFeign customerFeign;

  @PostMapping("/getCustomer")
  public CustomerVo getCustomer() {
    CustomerVo qctCustomer = new CustomerVo();
    qctCustomer.setExternalUserId("asdas");
    qctCustomer.setName("name");
    return qctCustomer;
  }
}
